// 新增小弹窗的验证功能

import {hrAjax as proFetch} from 'src/hrpub/common/utils/utils';


export default (data, step) => {

    if (step === 1) {
        return proFetch({
            url: '/nccloud/hrhi/register/RegisterAddDlgOk1Action.do',
            body: data
        });
    }
    else if (step === 2) {

        return proFetch({
            url: '/nccloud/hrhi/register/RegisterAddDlgOk2Action.do',
            body: data,
        });
    }
}
